Install MongoDB (version 3.2.10) on the remote server (CentOS6.5), starting with the following command:
#!/bin/bash
### start MongoDB shell
### dbpath indicates the execution of the database repository (if unspecified, the default is/data/db)
###
installing MongoDB on the CentOS71 connect to CentOS7 server via SECURECRT;2 Go to the/usr/local/directory:Cd/usr/local3 Create the Tools directory under the current directory:Mkdir-p Tools4 enter into the Tools directory:CD Tools5 Download the
MongoDB installation and multi-instance start MongoDB IntroductionMongoDB is a cross-platform, document-oriented database. Can achieve high performance, high availability, and can easily scale, is a distributed file storage based open source
In the process of learning MongoDB, encountered a very depressed problem: The following--unable to connect to the 127.0.0.1 serverAt first I looked at the information, the major gods are said to have not started MongoDB, but I was clearly launched,
1. Go to the/usr/local/directory:Cd/usr/local2. Install the necessary pluginsYum-y install gcc make gcc-c++ openssl-devel wgetyum Install net-tools3. Download the mongodb-linux-x86_64-rhel70-3.2.4.tgz file that matches the CentOS system download is
Installing MongoDB on the CentOS71 connect to CentOS7 server via SECURECRT;2 Go to the/usr/local/directory:Cd/usr/local3 Create the Tools directory under the current directory:Mkdir-p Tools4 enter into the Tools directory:CD Tools5 Download the
1. What is MongoDB?It is a NoSQL database between relational database and non-relational database, written in C + +, is a high-performance document-oriented universal database which integrates agility, scalability and extensibility.2. Why use
What is a MongoDB replica set:A MongoDB replica set is a cluster of replicas consisting of a set of MongoDB servers. The cluster contains a primary master server and several secondary backup servers or Artiber election servers. Secondary
What is a shard?High data volume and throughput of the database application will be more pressure on the performance of the single machine, large query volume will be a single CPU exhausted, large amount of data on the single-machine storage
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.